{% load future wenlincms_tags wlcore_tags report_tags %}

<div class="report-box hidetrbox">
    <h3 class="report-title">股权冻结历史数据</h3>
    <span class="report-numallbox"><span class="report-numbox">0</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="100">冻结文号</th>
            <th width="90">冻结机关</th>
            <th width="60">起始日期</th>
            <th width="60">截至日期</th>
            <th width="120">冻结金额（万）</th>
            <th width="100">解冻机关</th>
            <th width="100">解冻文号</th>
            <th width="80">解冻日期</th>
            <th width="100">解冻说明</th>
        </tr>
        {% for res in el_stockfrosts %}
            <tr class="hidetr">
                <td>{{ res.FRODOCNO|elweizhi }}</td>
                <td>{{ res.FROAUTH|elweizhi }}</td>
                <td>{{ res.FROFROM|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.FROTO|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.FROAM|elfloat:1|elweizhi }}</td>
                <td>{{ res.THAWAUTH|elweizhi }}</td>
                <td>{{ res.THAWDOCNO|elweizhi }}</td>
                <td>{{ res.THAWDATE|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.THAWCOMMENT|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">股权出质历史信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ el_stockimpawns.count|elweizhi:5 }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="150">质权人姓名</th>
            <th width="60">出质人类别</th>
            <th width="60">出质额（万）</th>
            <th width="60">备案日期</th>
            <th width="60">审批部门</th>
            <th width="60">批准日期</th>
            <th width="60">截至日期</th>
        </tr>
        {% for res in el_stockimpawns %}
            <tr class="hidetr">
                <td>{{ res.IMPORG }}</td>
                <td>{{ res.get_IMPORGTYPE_display|elweizhi }}</td>
                <td>{{ res.IMPAM|elfloat:1|elweizhi }}</td>
                <td>{{ res.IMPONRECDATE|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.IMPEXAEEP|elweizhi }}</td>
                <td>{{ res.IMPSANDATE|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.IMPTO|date:"Y-m-j"|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">清算信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ el_liquidations.count|elweizhi:5 }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="90">清算责任人</th>
            <th width="90">清算负责人</th>
            <th width="135">清算组成员</th>
            <th width="120">清算完结情况</th>
            <th width="90">清算完结日期</th>
            <th width="90">债务承接人</th>
            <th width="90">债权承接人</th>
            <th width="90">联系电话</th>
        </tr>
        {% for res in el_liquidations %}
            <tr class="hidetr">
                <td>{{ res.LIGENTITY|elweizhi }}</td>
                <td>{{ res.LIGPRINCIPAL|elweizhi }}</td>
                <td>{{ res.LIQMEN|elweizhi }}</td>
                <td>{{ res.LIGST|elweizhi }}</td>
                <td>{{ res.LIGENDDATE|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.DEBTTRANEE|elweizhi }}</td>
                <td>{{ res.CLAIMTRANEE|elweizhi }}</td>
                <td>{{ res.TEL|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">行政处罚信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ case_basic|length }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table">
        <tr>
            <th width="80">案发时间</th>
            <th width="200">违法行为类型</th>
            <th width="60">执行类别</th>
            <th width="60">处罚金额</th>
            <th width="80">处罚种类</th>
            <th width="80">处罚详情</th>
        </tr>
        {% for res in case_basic %}
            <tr class="hidetr">
                <td>{{ res.CASETIME|date:"Y-m-j"|elweizhi }}</td>
                <td>{{ res.ILLEGACTTYPE|elweizhi }}</td>
                <td>{{ res.EXESORT|elweizhi }}</td>
                <td>{{ res.PENAM|elweizhi }}</td>
                <td>{{ res.PENTYPE|elweizhi }}</td>
                <td><span onclick="showdetail(this)" class="showdetail-btn">查看详情</span></td>
            </tr>
            <tr>
                <td class="tablecontent hidedetail" colspan="9">
                    <table class="report-table inline-table">
                        <tr>
                            <td class="td3" style="width: 150px">案件结果:</td>
                            <td class="td4" style="width: 750px">{{ res.CASERESULT|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">案由:</td>
                            <td class="td4">{{ res.CASEREASON|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">案值:</td>
                            <td class="td4">{{ res.CASEVAL|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">处罚决定文书:</td>
                            <td class="td4">{{ res.PENDECNO|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">处罚决定书签发日期:</td>
                            <td class="td4">{{ res.PENDECISSDATE|date:"Y-m-j"|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">处罚机关:</td>
                            <td class="td4">{{ res.PENAUTH|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">处罚结果:</td>
                            <td class="td4">{{ res.PENRESULT|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">处罚依据:</td>
                            <td class="td4">{{ res.PENBASIS|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">处罚执行情况:</td>
                            <td class="td4">{{ res.PENEXEST|elweizhi }}</td>
                        </tr>
                        <tr>
                            <td class="td3">主要违法事实:</td>
                            <td class="td4">{{ res.ILLEGFACT|elweizhi }}</td>
                        </tr>
                    </table>
                </td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">被执行人信息</h3>
    <span class="report-numallbox"><span class="report-numbox">0</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="60">案号</th>
            <th width="80">被执行人</th>
            <th width="60">年龄</th>
            <th width="60">省份</th>
            <th width="100">执行法院</th>
            <th width="60">立案时间</th>
            <th width="60">案件状态</th>
            <th width="60">标的（元）</th>
        </tr>
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">失信被执行人信息</h3>
    <span class="report-numallbox"><span class="report-numbox">0</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table ">
        <tr>
            <th width="60">案号</th>
            <th width="80">被执行人</th>
            <th width="80">失信人类型</th>
            <th width="60">年龄</th>
            <th width="60">省份</th>
            <th width="100">执行法院</th>
            <th width="60">立案时间</th>
            <th width="60">案件状态</th>
            <th width="60">标的（元）</th>
        </tr>
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">欠税记录</h3>
    <span class="report-numallbox"><span class="report-numbox">0</span>条</span>

    <table class="report-table">
        <tr>
            <th width="80">发布时间</th>
            <th width="80">发布机关</th>
            <th width="80">经营地址</th>
            <th width="80">所欠税种</th>
            <th width="80">所欠金额</th>
            <th width="100">标题</th>
        </tr>
    </table>
</div>

<script>
    hidetrbox();
</script>
